package com.mankind.ssm.service;

import com.mankind.ssm.pojo.Permission;
import com.mankind.ssm.pojo.RolePermission;

import java.util.List;

/**
 * Created by Mankind on 2017/7/21.
 */
public interface RolePermissionService {
    public void deleteByRoleId(Integer roleId);

    public void deleteByPermissionId(Integer permissionId);

    public List<Permission> getPermissionByRoleId(Integer roleId);

    public void insert(RolePermission rolePermission);
}
